<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/validate.jsp"%>
<%
/**
**预约挂号收费
**含挂号和收费2个过程
*/
try {
	String 	mac        = input.getDesc("mac",""); // 网卡地址
	String 	patid      = input.getDesc("patid");  // 患者的id
	String 	ksdm       = input.getDesc("ksdm");   // 科室代码
	String 	pbmxxh     = input.getDesc("pbmxxh"); // 排班明细序号
	String 	yyxh       = input.getDesc("yyxh");   // 预约序号
	
/*  	System.out.println("	mac    :"+ 	mac   ); 
  	System.out.println("	patid  :"+ 	patid );
  	System.out.println("	ksdm   :"+ 	ksdm  );
  	System.out.println("	pbmxxh :"+ 	pbmxxh);
  	System.out.println("	yyxh   :"+ 	yyxh  );   */
	
  	
  	
   //预约挂号收费
	Map<String, String> param  = new HashMap<String,String>(8);
	param.put("mac","");                   
	param.put("patid",patid);                 
	param.put("ksdm",ksdm);                  
	param.put("pbmxxh",pbmxxh);         
	param.put("yyxh",yyxh);             
	
    String url = HOST_BASE_URL_1113+"/appoint/addchargefee.jsp";
    String json = HttpUtil.post(url,param);
    Tools.encryptPrint(out,json);
} catch (Exception e){
	e.printStackTrace();
	msg.put("errcode",FAILURE);
}


%>
